
// This function shows output text box and fills it with
// the corresponding text.  The variable number represents
// the hotspot number.  
function showText( number )
{
	// show the output box
	document.getElementById( "output-box" ).style.display = "block";
	
	if( number == 1 )
	{
		document.getElementById( "output-text" ).innerHTML = "Shoots geyser-like jets of water vapor and other material into space at about 200 kilograms/second.";
	}
	else if( number == 2 )
	{
		document.getElementById( "output-text" ).innerHTML = "How close together the molecules of a substance are or how much mass a substance has in a given space.";
	}
	else if( number == 3 )
	{
		document.getElementById( "output-text" ).innerHTML = "The 4 largest moons of Jupiter: Io, Europa, Ganymede, and Callisto.";
	}
	else if( number == 4 )
	{
		document.getElementById( "output-text" ).innerHTML = "Made of gas and not solid or liquid.";
	}
	else if( number == 5 )
	{
		document.getElementById( "output-text" ).innerHTML = "A compound of hydrogen and carbon, such as any of those that are the chief components of petroleum and natural gas.";
	}
	else if( number == 6 )
	{
		document.getElementById( "output-text" ).innerHTML = "The multiple smaller moons orbiting Jupiter.";
	}
	else if( number == 7 )
	{
		document.getElementById( "output-text" ).innerHTML = "An orbit that is clockwise, which is opposite the orbit of most planets including Earth.";
	}
	else if( number == 8 )
	{
		document.getElementById( "output-text" ).innerHTML = "A small moon orbiting close to a planetary ring, especially of Saturn, and whose gravitational field confines the ring within a narrow band.";
	}
}

//function hideOutput()
//{
//	document.getElementById( "output-box" ).style.display = "none";
//}